.. _`K-fold Cross Validation`: .. _`org.sysess.sympathy.machinelearning.crossval_kfold`: K-fold Cross Validation ``````````````````````` .. image:: Kfold.svg :width: 48 Gives splits for K-fold cross validation Definition :::::::::: Input ports ........... **X** | Type: table | Description: X **Y** | Type: table | Description: Y Output ports ............ **out** | Type: [(table, table)] | Description: out Configuration ............. **Number of splits** (n_splits) Number of folds, must be atleast 2 **Shuffle** (shuffle) Shuffle the data before splitting Examples ........ The node can be found in: * :download:`Hyper_parameters.syx ` * :download:`Custom_CrossValidation.syx ` Implementation .............. .. automodule:: node_crossvalidation :noindex: .. class:: CrossVal_KFold :noindex: